import React, { lazy } from "react";
import Home from "../page/Home.jsx";
import UserManage from "../page/Usermanage";
const Echart = lazy(() => import("../page/Echarts"));

const routes = [
  {
    path: "/",
    element: <Home />,
  },
  {
    path: "/usermange",
    element: <UserManage />,
  },
  {
    path: "/echarts",
    element: <Echart />,
  },
];

export default routes;
